package org.beason.core.entity;

import java.util.Date;

import javax.persistence.MappedSuperclass;

/**
 * 业务实体
 * @author beason
 * @since 0.1
 */
@MappedSuperclass
public abstract class BusinessEntity extends BaseEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Date createdTime = new Date(); //创建时间
	private String createdBy; //创建人
	private Date lastModifiedTime = new Date();//最后更新时间
	private String lastModifiedBy; //最后更新操作人
	private Boolean isDel = Boolean.FALSE; //是否删除标志 用于软删除
	
	

	public Date getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(Date createdTime) {
		this.createdTime = createdTime;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getLastModifiedTime() {
		return lastModifiedTime;
	}

	public void setLastModifiedTime(Date lastModifiedTime) {
		this.lastModifiedTime = lastModifiedTime;
	}

	public String getLastModifiedBy() {
		return lastModifiedBy;
	}

	public void setLastModifiedBy(String lastModifiedBy) {
		this.lastModifiedBy = lastModifiedBy;
	}

	public Boolean getIsDel() {
		return isDel;
	}

	public void setIsDel(Boolean isDel) {
		this.isDel = isDel;
	} 
	
	

}
